Skip to content

Conversation

schmid-jn
Copy link

Add Button to enable free drive mode of ur-arm.

Copy link
Contributor

@HannesBachter HannesBachter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise cool feature 👍

switch_mode();
}

if (free_drive_button_ >= 0 && free_drive_button_ < (int)joy_msg->buttons.size() && joy_msg->buttons[free_drive_button_] == 1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you checking for joy_msg->buttons[free_drive_button_] == 1 here and in the inside-if as well?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicely spotted.

@schmid-jn schmid-jn force-pushed the feature/free_drive_mode branch from fa7b66c to b9aa2c4 Compare August 6, 2024 10:38
Copy link
Contributor

@HannesBachter HannesBachter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested on mrl-q 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants